//
//  pointObject.m
//  自定义可动图表
//
//  Created by yuklng on 16/2/18.
//  Copyright © 2016年 yuklng. All rights reserved.
//

#import "pointObject.h"

@implementation pointObject

-(LLScope)getScope{
    CGFloat xMax =_origin.x+ _sideLength.width/2 -0.1;
    CGFloat xMin =_origin.x- _sideLength.width/2 +0.1;
    CGFloat yMax =_origin.y+ _sideLength.height/2 -0.1;
    CGFloat yMin =_origin.y- _sideLength.height/2 +0.1;
    LLScope scopeObject ={xMax,xMin,yMax,yMin};
    
    NSLog(@"作用域初始化成功 ,最小x:%f ,最大x:%f ,最小y:%f ,最大y:%f",scopeObject.xMin,scopeObject.xMax,scopeObject.yMin,scopeObject.yMax);
    return scopeObject;
}


@end
